<%--
    Document   : restaurantInfo
    Created on : Nov 10, 2010, 3:18:18 AM
    Author     : hung-shengliao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <script type='text/javascript' src='js/jquery.js'></script>
        <script type='text/javascript' src='js/jquery.livequery.js'></script>
        <script type='text/javascript' src='js/foodMate.js'></script>
        <script type='text/javascript' src='js/jquery.ui.core.js'></script>
        <script type='text/javascript' src='js/jquery.ui.datepicker.js'></script>
        <script type='text/javascript' src='js/calendarDateInput.js'></script>
        <link href='css/foodMate.css' rel='stylesheet' type='text/css' />
        <a href='index.jsp'>HOME</a>
        <div> <font size='10'>Restaurant:<%= session.getAttribute( "restName" )%></font></div>
        <div> Location:<%= session.getAttribute( "restLoc" )%></div>
        <div> website: <%= session.getAttribute( "restEmail" )%></div>
        <img id='restaurantPic' src='<%= session.getAttribute( "restPic")%>'>
        <div><%= session.getAttribute( "restDesc")%></div>
        <div><%= session.getAttribute("FBid") %></div>
        <INPUT id="restId" TYPE=hidden NAME=restId SIZE=20 VALUE="<%= session.getAttribute("restId") %>">


        <form method='GET' action='reserveRest'>
            <div> Time
                <SELECT ID="Time" NAME='Time'>
                <OPTION VALUE='1'>Breakfast
                <OPTION VALUE='2'>Lunch
                <OPTION VALUE='3'>Dinner
                </SELECT>
            </div>
            <p>Date: <script>DateInput('orderdate', true, 'DD-MON-YYYY')</script></p>
            <input type='button' onClick='checkDate(this.form.orderdate.value)' value='CHECK'>
        </form>
        <form id="inform" action="reserveAjax" method="POST">
        <input id="reserveBtn" type='button' onClick='reserveRest()' value='reserve'>
        </form>
         <div id ="reserveInfo" >

         </div>
    </body>
</html>